SerialStatelessSubjectAsync class¶
Defined in
Namespace: ReactiveUI.Extensions.Async.Subjects
Assembly: ReactiveUI.Extensions.dll
Full name: ReactiveUI.Extensions.Async.Subjects.SerialStatelessSubjectAsync<T>
Modifiers: public sealed
Summary¶
Represents a stateless asynchronous subject that notifies observers of events in a serial, sequential manner.
Applies to
net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-browserwasm1.0, net9.0-desktop1.0, net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.1, net462, net481
Class hierarchy
classDiagram
class SerialStatelessSubjectAsync~T~
class BaseStatelessSubjectAsync~T~
BaseStatelessSubjectAsync~T~ <|-- SerialStatelessSubjectAsync~T~
Inherits from: BaseStatelessSubjectAsync
Remarks¶
Observers are notified one at a time in the order they are registered. Each observer receives the event only after the previous observer has completed processing. This class is suitable for scenarios where event delivery order and sequential processing are required. Thread safety and ordering are managed internally.
Constructors¶
| Name | Summary |
|---|---|
| .ctor |
Methods¶
| Name | Summary |
|---|---|
| OnNextAsyncCore | Asynchronously notifies the specified observers with the provided value. |
| OnErrorResumeAsyncCore | Handles error recovery for the specified observers by resuming asynchronous processing after an error occurs. |
| OnCompletedAsyncCore | Invoked to asynchronously notify all observers of the completion event with the specified result. |